﻿<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output version="4.0" method="html" indent="no"  omit-xml-declaration="yes" encoding="UTF-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
  <xsl:template match="//Locations">
    <select class="locations">
      <xsl:for-each select="Entity">
        <xsl:variable name="EntityCode" select="EntityCode"/>
        <xsl:variable name="EntityDescription" select="EntityDescription"/>
        <option value='{$EntityCode}'>
          <xsl:value-of select="$EntityDescription"/>
        </option>
      </xsl:for-each>
    </select>
  </xsl:template>
</xsl:stylesheet>
